package com.javaxxf.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author xuxiaofei
 * @date 2021年09月13日下午4:35
 * @联系作者：如果你有什么不懂，可以加作者微信 xxf960513 一起交流学习
 */

@ApiModel(description = "响应结果-用户信息")
public class User {
    @ApiModelProperty(value = "用户id")
    private Integer uid;
    @ApiModelProperty(value = "用户名")
    private String uname;
    @ApiModelProperty(value = "用户密码")
    private String upasswd;

    public User() {
    }

    public User(Integer uid, String uname, String upasswd) {
        this.uid = uid;
        this.uname = uname;
        this.upasswd = upasswd;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpasswd() {
        return upasswd;
    }

    public void setUpasswd(String upasswd) {
        this.upasswd = upasswd;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uname='" + uname + '\'' +
                ", upasswd='" + upasswd + '\'' +
                '}';
    }
}
